//
//  XMMineView.h
//  XMJJ_zml
//
//  Created by apple on 2025/5/9.
//

#import "XMBaseView.h"
#import "XMUserInfoModel.h"

NS_ASSUME_NONNULL_BEGIN

@protocol XMMineViewDelegate <NSObject>

- (void)addFriend;  //添加朋友
- (void)scanAction;  //扫一扫
- (void)checkAccessRecord;  //查看访问记录
- (void)setAction;   //设置
- (void)homePageEdit; //编辑主页
- (void)authenAction;  //去认证
- (void)qrcodeCheckAction;  //查看二维码
- (void)listTypeSelect:(NSInteger)selectIndex;
- (void)refreshData;
- (void)loadMoreData;

- (void)checkEarnDetailAction;  //明细
- (void)putForwardMoneyAction;  //提现
- (void)checkMyOrderListActionWithOrderType:(NSInteger)orderType; //订单列表
- (void)checkProductDetailWithProductId:(NSString *)productId; //查看产品详情

@end

@interface XMMineView : XMBaseView

@property (nonatomic, weak) id<XMMineViewDelegate>delegate;

- (void)setContentWithUserInfoModel:(XMUserInfoModel *)userInfoModel; //个人信息
- (void)setProductListWithProductModelArr:(NSArray *)productModelArr
                                     page:(NSInteger)page;  //家在作品列表

@end

NS_ASSUME_NONNULL_END
